"""live_api URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url, include
from django.contrib import admin
from users.views import *

urlpatterns = [
    #url(r'^test4/(?P<name>.+)/(?P<age>\w+)$', test4),
    #url(r'^(?P<Information_id>[0-9]+)/$',views.Information,name='information'),

    url(r'^basicInfo/$', user_base),
    url(r'^changepwd/$', changepwd),
    url(r'^forgetregist/$', forgetregist),
    url(r'^counter/$', user_counter),
    url(r'^payattention_list/$', user_payattention_list),
    url(r'^fans_list/$', user_fans_list),
    url(r'^videolist/$', user_videolist),
    url(r'^payattention_actor_video_list/$', user_payattention_actor_video_list),
    url(r'^log_pay/$', user_log_pay),
    url(r'^(?P<id>[0-9]+)/payattention/$', user_payattention),
    url(r'^(?P<id>[0-9]+)/praise/$', user_praise),
    url(r'^(?P<id>[0-9]+)/access_list/$', user_access_list),
    url(r'^(?P<id>[0-9]+)/access/$', user_access),

    url(r'^change_user_info/$', changeuserinfo),
    url(r'^authentication/$',authentication),
    url(r'^look_video/$',look_video),
    url(r'^trading/$',trading),
]
